;------------------------------------------------------------------------------------------------
[wpn_ash12]:identity_immunities,weapon_probability,default_weapon_params,wpn_ash12_sounds
GroupControlSection                      = spawn_group
$npc                                     = on
$prefetch                                = 8
$spawn                                   = "weapons\ash12"
scheduled                                = off
cform                                    = skeleton
parent_section                           = wpn_ash12

class                                    = WP_AK74
slot                                     = 2
animation_slot                           = 2
ef_main_weapon_type                      = 3
ef_weapon_type                           = 11
hand_dependence                          = 1
single_handed                            = 0

inv_grid_height                          = 2
inv_grid_width                           = 4
inv_grid_x                               = 37
inv_grid_y                               = 74
inv_name                                 = st_wpn_ash12
inv_name_short                           = st_wpn_ash12
description                              = st_wpn_ash12_descr

kind                                     = w_rifle
inv_weight                               = 4.5
cost                                     = 37100
repair_type                              = rifle_7
weapon_class                             = assault_rifle

hud                                      = wpn_ash12_hud
visual                                   = dynamics\weapons\wpn_ash12\wpn_ash12.ogf
position                                 = -0.026, -0.135, 0
orientation                              = 0, 0, 0
fire_point                               = 0, 0.186, 0.435
fire_point2                              = 0, 0.106, 0.468
strap_bone0                              = bip01_spine2
strap_bone1                              = bip01_spine1
strap_position                           = -0.15, -0.36, 0.25
strap_orientation                        = -10, -5, 10
ph_mass                                  = 7

flame_particles                          = weapons\generic_weapon06
smoke_particles                          = amik\weapons\smoke_particles\smoke_particles_01
grenade_flame_particles                  = amik\weapons\grenade_flame_particles\grenade_flame_particles_00

shell_point				                 = -0.02, 0.167, 0.082
shell_dir				                 = 0, 0, 0.4
shell_particles				             = weapons\762x54

light_disabled                           = false
light_color                              = 0.6, 0.5, 0.3
light_range                              = 4.0
light_time                               = 0.2
light_var_color                          = 0.05
light_var_range                          = 0.5

upgrades                                 = up_gr_firstab_groza, up_gr_seconab_groza, up_gr_thirdab_groza, up_gr_fourtab_groza
installed_upgrades                       =
upgrade_scheme                           = upgrade_scheme_ash12
upgr_icon_x                              = 600
upgr_icon_y                              = 1400
upgr_icon_width                          = 300
upgr_icon_height                         = 100

fire_modes                               = 1, -1
ammo_class                               = ammo_12.7x55_fmj, ammo_12.7x55_fmj_bad, ammo_12.7x55_fmj_verybad, ammo_12.7x55_ap, ammo_12.7x55_ap_bad, ammo_12.7x55_ap_verybad
ammo_current                             = 10
ammo_elapsed                             = 0
ammo_limit                               = 10
ammo_mag_size                            = 10
startup_ammo                             = 10

scopes                                   = acog, ac10632, eot, c-more
scope_status                             = 0
scope_name                               = wpn_addon_scope
scope_x                                  = 53
scope_y                                  = 7
scope_zoom_factor                        = 0

silencer_name                            = sil_kzrzp
silencer_status                          = 0
silencer_x                               = 273
silencer_y                               = 15
silencer_light_color                     = 0.6, 0.5, 0.3
silencer_light_range                     = 0.01
silencer_light_time                      = 0.2
silencer_light_var_color                 = 0.05
silencer_light_var_range                 = 0.5
silencer_smoke_particles                 = amik\weapons\smoke_particles\silencer_smoke_particles_02

grenade_class                            = ammo_vog-25, ammo_vog-25_bad, ammo_vog-25_verybad
grenade_launcher_status                  = 0
launch_speed                             = 76

hit_impulse                              = 50
hit_power                                = 0.66, 0.66, 0.66, 0.66
hit_type                                 = fire_wound
fire_distance                            = 900
bullet_speed                             = 750
rpm                                      = 650
rpm_empty_click                          = 200

use_aim_bullet = false
time_to_aim                              = 0.0 ;  1.0
zoom_enabled                             = true
zoom_rotate_time                         = 0.25
reload_dof                               = 0, 0.5, 5, 2.2
control_inertion_factor = 1.0f
crosshair_inertion                       = 9
fire_dispersion_base                     = 0.2
fire_dispersion_condition_factor         = 0.001

misfire_probability                      = 0.005
misfire_start_condition                  = 0.7 ;  0.6
misfire_start_prob                       = 0.0055
misfire_end_condition                    = 0.1
misfire_end_prob                         = 0.055

condition_queue_shot_dec                 = 0.0025
condition_shot_dec                       = 0.0025

cam_return                               = 1
cam_relax_speed                          = 10
cam_dispersion                           = 2.5
cam_dispersion_frac                      = 1.0
cam_dispersion_inc                       = 0.5
cam_max_angle                            = 50.0
cam_max_angle_horz                       = 50.0
cam_step_angle_horz                      = 1.25
zoom_cam_relax_speed                     = 9
zoom_cam_dispersion                      = 2.25
zoom_cam_dispersion_frac                 = 1.0
zoom_cam_dispersion_inc                  = 0.25
zoom_cam_max_angle                       = 50.0
zoom_cam_max_angle_horz                  = 50.0
zoom_cam_step_angle_horz                 = 1.25

PDM_disp_accel_factor                    = 1.5
PDM_disp_base                            = 1.3
PDM_disp_crouch                          = 1.0
PDM_disp_crouch_no_acc                   = 1.0
PDM_disp_vel_factor                      = 1.5

cam_relax_speed_ai                       = 360
zoom_cam_relax_speed_ai                  = 120.75
holder_fov_modifier                      = 0.75
holder_range_modifier                    = 2.00
min_radius                               = 50
max_radius                               = 90
hit_probability_gd_novice                = 1.0
hit_probability_gd_stalker               = 1.0
hit_probability_gd_veteran               = 1.0
hit_probability_gd_master                = 1.0

kill_msg_x                               = 0
kill_msg_y                               = 0
kill_msg_width                           = 98
kill_msg_height                          = 23


[wpn_ash12_hud]:hud_base
item_visual                              = anomaly_weapons\wpn_ash12\wpn_ash12_hud.ogf
attach_place_idx                         = 0
zoom_hide_crosshair                      = true   

item_position                            = 0, 0, 0
item_orientation                         = 0, 0, 0

hands_position                           = -0.072, -0.192, 0.25
hands_position_16x9                      = -0.072, -0.192, 0.25
hands_orientation                        = 0.55, 2.39, 0.15
hands_orientation_16x9                   = 0.55, 2.39, 0.15

aim_hud_offset_pos                       = -0.08106,0.0356,-0.2
aim_hud_offset_pos_16x9                  = -0.08106,0.0356,-0.2
aim_hud_offset_rot                       = 0.0226, 0.00886, -0.0051
aim_hud_offset_rot_16x9                  = 0.0226, 0.00886, -0.0051

gl_hud_offset_pos                        = 0, 0, 0
gl_hud_offset_rot                        = 0, 0, 0

lean_hud_offset_pos                      = 0, 0, 0
lean_hud_offset_rot                      = 0, 0, 0

anm_hide                                 = lancew_vssk_holster
anm_idle                                 = lancew_vssk_idle
anm_idle_aim                             = lancew_vssk_idle_aim
anm_idle_aim_moving                      = lancew_vssk_moving, idle, 0.75
anm_idle_aim_moving_crouch               = lancew_vssk_moving, idle, 0.7
anm_idle_moving                          = lancew_vssk_moving
anm_idle_sprint                          = lancew_vssk_sprint
anm_reload                               = lancew_vssk_reload, reload
anm_shots                                = lancew_vssk_shoot, shoot
anm_show                                 = lancew_vssk_draw

shell_bone                               = wpn_body
shell_dir                                = 0, 1, 0
shell_point                              = 0.02, 0.04, 0.131

fire_bone                                = wpn_body
fire_bone2                               = wpn_body
fire_point                               = 0, 0.047854, 0.618059
fire_point2                              = -0.014, 0.01, -0.037

grenade_bone                             = grenade

freelook_z_offset_mul					 = 0.9
rpm_anim_fix 							 = false

;------------------------------------------------------------------------------------------------
[wpn_ash12_ac10632]:wpn_ash12
$spawn                                   = "weapons\ash12_ac10632"

inv_weight                               = 4.61

1icon_layer                              = ac10632
1icon_layer_x                            = 93
1icon_layer_y                            = -7

hud                                      = wpn_ash12_ac10632_hud
visual                                   = dynamics\weapons\wpn_ash12\wpn_ash12_barska.ogf


[wpn_ash12_ac10632_hud]:wpn_ash12_hud
item_visual                              = anomaly_weapons\wpn_ash12\wpn_ash12_barska_hud.ogf

aim_hud_offset_pos                       = -0.081, 0.0065, -0.2
aim_hud_offset_pos_16x9                  = -0.081, 0.0065, -0.2

;------------------------------------------------------------------------------------------------
[wpn_ash12_acog]:wpn_ash12
$spawn                                   = "weapons\ash12_acog"

inv_weight                               = 4.85

1icon_layer                              = acog
1icon_layer_x                            = 84
1icon_layer_y                            = -8

hud                                      = wpn_ash12_acog_hud

scope_status                             = 0
scope_zoom_factor                        = 20


[wpn_ash12_acog_hud]:wpn_ash12_ac10632_hud,hud_low_interia
item_visual                              = anomaly_weapons\wpn_ash12\wpn_ash12_acog_hud.ogf

aim_hud_offset_pos                       = -0.08046, 0.017067, -0.4
aim_hud_offset_pos_16x9                  = -0.08046, 0.017067, -0.4
aim_hud_offset_rot                       = 0.03, 0.0081, -0.0081
aim_hud_offset_rot_16x9                  = 0.03, 0.0081, -0.0081

;------------------------------------------------------------------------------------------------
[wpn_ash12_c-more]:wpn_ash12
$spawn                                   = "weapons\ash12_c-more"

inv_weight                               = 4.8

1icon_layer                              = c-more
1icon_layer_x                            = 93
1icon_layer_y                            = -7

hud                                      = wpn_ash12_c-more_hud
visual                                   = dynamics\weapons\wpn_ash12\wpn_ash12_c-more.ogf


[wpn_ash12_c-more_hud]:wpn_ash12_hud
item_visual                              = anomaly_weapons\wpn_ash12\wpn_ash12_c-more_hud.ogf

aim_hud_offset_pos                       = -0.081,0.0073,-0.2
aim_hud_offset_pos_16x9                  = -0.081,0.0073,-0.2

;------------------------------------------------------------------------------------------------
[wpn_ash12_eot]:wpn_ash12
$spawn                                   = "weapons\ash12_eot"

inv_weight                               = 4.8

1icon_layer                              = eot
1icon_layer_x                            = 92
1icon_layer_y                            = -9

hud                                      = wpn_ash12_eot_hud
visual                                   = dynamics\weapons\wpn_ash12\wpn_ash12_eot.ogf


[wpn_ash12_eot_hud]:wpn_ash12_hud
item_visual                              = anomaly_weapons\wpn_ash12\wpn_ash12_eot_hud.ogf

aim_hud_offset_pos                       = -0.081, 0.001, -0.2
aim_hud_offset_pos_16x9                  = -0.081, 0.001, -0.2

